//测试文件
Ext.onReady(function(){	   
    var win = new Ext.Window({
        title: 'Ext和Fckeditor结合示例',
        width: 900,//844
        //height: 400,//300
        closable: false,
        layout: 'fit',
        border: false,
        bodyBorder: false,
        items: [new Ext.ux.form.FCKeditor({
            id: 'te',           
            height: 200,
            fck:{ToolbarSet:'Custom'}           
        })],
        buttonAlign: 'left',
        buttons: [{
            text: '创建',
            handler: function(){
                var f = Ext.getCmp('te').getValue();
                alert(f);
  
            }
        }, {
            text: '获取',
            handler: function(){
              Ext.getCmp('te').setValue("动态获得值的测试！！");  
            }
        }]
    
    });
    win.show(Ext.getBody());    
});
